﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Pagebase/PageEdit.Master" AutoEventWireup="true" CodeBehind="S_ChangePWD.aspx.cs" Inherits="webnew.Systems.S_ChangePWD" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div id="contentbox">
    <fieldset id="EditBox" runat="server" class="EditBox">
        <table id="EditTbl" cellpadding='2' cellspacing='1'>
            <tr>
                <td align="right" class="td1">
                    &nbsp; 旧密码：</td>
                <td class="td2">
                    <asp:TextBox ID="txtOldPwd" runat="server" CssClass="txt" TextMode="Password"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right" class="td1">
                    新密码：</td>
                <td class="td2">
                    <asp:TextBox ID="txtNewPwd" runat="server" CssClass="txt" TextMode="Password"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                        ControlToValidate="txtNewPwd" ErrorMessage="密码长度不能少于8位，必须是数字和字母的组合" 
                        ValidationExpression="[a-zA-Z0-9]{8,}"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td align="right" class="td1">
                    再次确定：</td>
                <td class="td2">
                    <asp:TextBox ID="txtTruePwd" runat="server" CssClass="txt" TextMode="Password"></asp:TextBox>
                    <asp:CompareValidator ID="CompareValidator1" runat="server" 
                        ControlToCompare="txtNewPwd" ControlToValidate="txtTruePwd" Display="Dynamic" 
                        ErrorMessage="*两次密码输入不一致"></asp:CompareValidator>
                </td>
            </tr>
            </table>
    </fieldset>
    </div>
</asp:Content>
